package org.jivesoftware.spark;

import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ContainerEvent;
import java.awt.event.ContainerListener;

import javax.swing.JButton;
import javax.swing.JPanel;

import org.jivesoftware.spark.component.RolloverButton;
import org.jivesoftware.spark.util.SwingWorker;

import cn.newgrand.netcall.advertisement.AdvertisementManager;

public class SendPanel extends JPanel {
	private JButton sendButton;
	public SendPanel() {
		sendButton = new JButton();
		// adChatBottom=new JPanel();
		sendButton.setContentAreaFilled(true);
		sendButton.setEnabled(false);
		setLayout(new GridBagLayout());
		add(sendButton, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
				GridBagConstraints.EAST, GridBagConstraints.EAST, new Insets(0,
						0, 0, 0), 0, 0));
	}

	public JButton getButton() {
		return sendButton;
	}

}
